package com.yangxk.kadmin.generator.config;

import com.yangxk.kadmin.generator.field.Field;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * 表配置
 * @author yangxk
 * @date 2018/10/4 19:50
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class TableConfig {
    private String tableName; // 表名称
    private String modelName; // 模块名称
    private String zhModelName; // 模块中文名称
    private String comment; // 注释
    private List<Field> fields;
    private boolean dataScope;
    private boolean queryAll;

    private RelateTableConfig relateTableConfig; // 关联表信息
}
